<?php 
class DataBackupController{
   function dataBackup(){
   	$model=new DataBackModel( 'localhost', 'root', 'root', 'dwfood', 'utf8' );
   	//$dir="D:\MyData";
   	$size=1000;
	$model->backup("","D:\MyData\\",$size);
	$msg=$model->msg;
//添加黑色背景+弹框
	include(ROOT.'view/admin/tpl/data_backup.html');
   }
	
}


 ?>